/*
store.js
store就是吧actions和reducer联系在一起,我们真正在前端页面上操作的对象只有store对象

* */
import {createStore} from "redux";
import cartReducer from "../reducer/cart_reducer";
//通过createStore方法创建store对象
let myStore =createStore(cartReducer);
//导出store 对象 (供组件使用)
export  default  myStore